from tkinter import *
root = Tk ()
root.title('it2023')
root.geometry('500x500')
canvas = Canvas(bg ='#57ff57', width =500,height = 500)
canvas.pack(anchor = CENTER, expand=1)
x = int(input('Введите x: '))
y = int(input('Введите y: '))
N = int(input('Введите N: '))
coords = [0,0,10,0,10,10,20,10,20,0,30,0,30,20,0,20]
for i in range (len(coords)):
    coords[i] *= N
for i in range (len(coords)):
    if i % 2 == 0:
        coords[i] += x
    else:
        coords[i] += y
canvas.create_polygon(coords, fill = '#f0a000', outline = "blue")
root.mainloop()